package cn.z2huo.demo.mapper.system;

import cn.z2huo.demo.example.system.SystemDOExample;
import cn.z2huo.demo.model.dataobject.system.SystemDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>该 Mapper 对应数据库表为 z2huo_system
 * <p>
 * 
 * @author z2huo
 * @date   2024-12-10
 */
@Mapper
public interface SystemMapper {

    long countByExample(SystemDOExample example);

    int deleteByExample(SystemDOExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SystemDO row);

    int insertSelective(SystemDO row);

    List<SystemDO> selectByExample(SystemDOExample example);

    SystemDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") SystemDO row, @Param("example") SystemDOExample example);

    int updateByExample(@Param("row") SystemDO row, @Param("example") SystemDOExample example);

    int updateByPrimaryKeySelective(SystemDO row);

    int updateByPrimaryKey(SystemDO row);
}